from django.db import models
from django.contrib.auth.models import User

class UserField(models.ForeignKey):
    def __init__(self, model=User, *args, **kwargs):
        super(UserField, self).__init__(model, *args, **kwargs)

class OrderField(models.IntegerField):
    def __init__(self, unique=True, *args, **kwargs):
        super(OrderField, self).__init__(unique=unique, *args, **kwargs)
